﻿using System.ComponentModel.DataAnnotations;

namespace MonentExam1013.Domain
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class User
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string Door { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string Jop { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public string Role { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int States { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
        public string Info { get; set; }
        public string Infos { get; set; }
    }
}
